This dialog allows you to modify the properties of each external tool
on the Tools menu. It is used by the Edit
Tools dialog.
Caption: A description of the tool as it is displayed on the
Tools menu
Program: The filename of the program. The program can either
be an executable file or a Tiny Hexer
Script
Select Program: A file selection dialog is shown so you can
choose the program/script
Directory: The working directory used when executing the
program
Arguments: Command line arguments that will be passed to the
program/script. A Tiny Hexer script can access these arguments using PARAM_COUNT and PARAMS().
Some macros can be used to control tool execution:
$(INPUT): You will be prompted to type an argument. This text
will replace the macro on tool execution
$(SAVE): Save the active document before executing the tool. The
macro is removed from the parameters passed to the tool
$(SCRIPT): This macro is removed from the list of arguments. It
tells Tiny Hexer that the tool is a Tiny Hexer
Script rather than an executable program
$(FILE): This macro is replaced by the filename of the active
document on tool execution
$(POSITION): This macro is replaced by the position of the cursor
in the active document on tool execution
$(SELSTART): This macro is replaced by the start of the selected
block in the active document on tool execution
$(SELCOUNT): This macro is replaced by the amount of selected
data in the active document on tool execution
OK: Accept the changes and close this dialog
Cancel: Close the dialog without accepting the changes